package main;

public final class InginerInstalatii extends  Institutie{

	
	public void tratareCerere(Cerere c) {
		Institutie i = new InginerRezistenta();
		if(c.isAvizArhitect()){
			c.setAvizInginerInstalatii(true);
			System.out.println("[Inginer instalatii]: Aviz favorabil");
			
		}else{
			System.out.println("[Inginer instalatii]: Aviz nefavorabil");
			this.setUrmatoarea(i);
			this.getUrmatoarea().tratareCerere(c);
		}
		
	}

}
